package com.easylinkin.sm.constant;

import lombok.experimental.UtilityClass;

/**
 * 登录常量
 *
 * @author TianGanLin
 * @since 1.0.0, 2019/9/12
 */
@UtilityClass
public class LoginConstant {

  /**
   * 异常消息常量
   */
  @UtilityClass
  public class Error {

    /**
     * 未关联所属机构
     */
    public static final String NO_DEPARTMENT = "login.no-department";

    /**
     * 所属机构不存在
     */
    public static final String DEPARTMENT_NO_FOUND = "login.department-no-found";

    /**
     * 未关联所属客户
     */
    public static final String NO_CUSTOMER = "login.no-customer";

    /**
     * 所属客户不存在
     */
    public static final String CUSTOMER_NO_FOUND = "login.customer-no-found";

    /**
     * 所属客户已锁定
     */
    public static final String CUSTOMER_LOCKED = "login.customer-locked";

    /**
     * 所属客户登录五次失败锁定
     */
    public static final String CUSTOMER_LOGIN_FAILED_LOCKED = "login.customer-login-failed-locked";
  }

}
